#include"Queue.h"
void test()
{
	Queue qe ;
	QueueInit(&qe);
	QueuePush(&qe, 1);
	QueuePush(&qe, 2);
	QueuePush(&qe, 3);
	QueuePush(&qe, 4);
	QueuePop(&qe);
	QueuePop(&qe);
	QueuePop(&qe);
	QueuePop(&qe);
	QENode* pcur = qe.phead;
	while (pcur)
	{
		printf("%d-> ", pcur->data);
		pcur = pcur->next;
	}
	printf("%d ", QueueSize(&qe));
	QueueDestroy(&qe);
}

int main()
{
	test();
	return 0;
}